package com.wpf.system.service;

import com.wpf.system.entity.Orders;
import com.wpf.system.entity.PointJournal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wpf.system.entity.vo.PointJournalVO;

import java.util.List;

/**
 * @author ferna
 * @description 针对表【point_journal(积分明细表)】的数据库操作Service
 * @createDate 2023-02-06 10:43:55
 */
public interface PointJournalService extends IService<PointJournal> {

    public void pointOut(Orders orders);

    public void pointInto(Orders orders,int remark);

    // 获取积分明细
    List<PointJournalVO> getPointJournal(Long aid, String type, String startTime, String endTime, Integer page, Integer pageSize);

}

